import 'dart:ffi';

import 'package:get/get.dart';

class ObxFun2Controller extends GetxController {
  //TODO: Implement ObxFun2Controller

  Rx<int> count = Rx<int>(0);

  Rx<String> name = Rx<String>("name");

  @override
  void onInit() {
    super.onInit();
  }

  @override
  void onReady() {
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
  }

  void increment() => count.value++;

  void changeName(){
    name.value = "name${count.value}";
  }
}
